import request from '@/utils/request'

// 查询固定费用列表
export function listFeFixed(query) {
  return request({
    url: '/life/feFixed/list',
    method: 'get',
    params: query
  })
}

// 查询固定费用详细
export function getFeFixed(id) {
  return request({
    url: '/life/feFixed/' + id,
    method: 'get'
  })
}

// 新增固定费用
export function addFeFixed(data) {
  return request({
    url: '/life/feFixed',
    method: 'post',
    data: data
  })
}

// 修改固定费用
export function updateFeFixed(data) {
  return request({
    url: '/life/feFixed',
    method: 'put',
    data: data
  })
}

// 删除固定费用
export function delFeFixed(id) {
  return request({
    url: '/life/feFixed/' + id,
    method: 'delete'
  })
}
